
<h2 class="contentTitle"> 添加单页</h2>


<div class="pageContent">
	
	<form method="post" action="<?php echo site_url('admin/page/add_single_page_post');?>" class="pageForm required-validate" onsubmit="return validateCallback(this)">
		<div class="pageFormContent nowrap" layoutH="150">
			<dl>
				<dt> 标题：</dt>
				<dd>
					<input type="text" name="title" maxlength="20" class="required"  />
					<span class="info">单页标题</span>
				</dd>
			</dl>
			<dl>
				<dt> 关键字：</dt>
				<dd>
					<textarea name="keywords" rows="6" cols="100"></textarea>
					<span class="info">页面关键字</span>
				</dd>
			</dl>
			<dl>
				<dt>说明：</dt>
				<dd>
					<textarea name="description" rows="6" cols="100"></textarea>
					<span class="info">页面说明</span>
				</dd>
			</dl>
			<dl>
				<dt>内容：</dt>
				<dd>
					<textarea class="editor" name="data" rows="17" cols="100"></textarea>
				</dd>
			</dl>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>


<script type="text/javascript">
function customvalidXxx(element){
	if ($(element).val() == "xxx") return false;
	return true;
}
</script>